using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;

namespace BackA2.Controllers
{
    [ApiController]
    [Route("[controller]")]
    public class Test2Controller : ControllerBase
    {

        public Test2Controller()
        {
        }

        [HttpGet]
        [Authorize()]
        public int Get()
        {
            return 2;
        }
    }
}
